package com.bawei.monthdemo2207a.month02.fuli

import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.padding
import androidx.compose.material3.Button
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.tooling.preview.Preview
import androidx.compose.ui.unit.dp
import androidx.navigation.NavController
import androidx.navigation.compose.rememberNavController
import com.bawei.monthdemo2207a.month02.route.RouteConfig

/**
 * 作者：赵亮
 * 时间：2024/12/31 11:32
 * 功能：
 */
@Composable
fun FuLiPage(navController: NavController = rememberNavController()) {
    Column(modifier = Modifier.padding(top = 24.dp)) {
        Button(onClick = {
            navController.navigate(RouteConfig.UPLOAD)
        }) {
            Text(text = "上传")
        }
    }
}

@Preview
@Composable
fun FuLiPagePreview() {
    FuLiPage()
}

